
 const App=() => {
  const [state,setState]=useState();
  return (
    <div>
      <button onClick={()=>setState((state)=>1+state)}>httpStart1</button>
      <button onClick={()=>setState((state)=>state-1)}>httpOver</button>
       <h3>{state}</h3>
    </div>
  );
};
export default  App